import request from '@/utils/request'

// 设备操作日志列表
export function logsLists(params?: Record<string, any>) {
    return request.get({ url: '/logs/list', params })
}

// 设备操作日志详情
export function logsDetail(params: Record<string, any>) {
    return request.get({ url: '/logs/detail', params })
}

// 设备操作日志新增
export function logsAdd(params: Record<string, any>) {
    return request.post({ url: '/logs/add', params })
}

// 设备操作日志编辑
export function logsEdit(params: Record<string, any>) {
    return request.post({ url: '/logs/edit', params })
}

// 设备操作日志删除
export function logsDelete(params: Record<string, any>) {
    return request.post({ url: '/logs/del', params })
}
